mmc: use new hwpart API when CONFIG_BLK enabled
authorKever Yang <[email protected]>
Thu, 8 Jun 2017 01:20:03 +0000 (09:20 +0800)
committerJaehoon Chung <[email protected]>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit4dc80c8732f0fe971669a8440abd78c42bd1367c
treec4a4513254dc2f29016ddc09db457f7c204a74ff
parent2710d54f54bb2242e81a23930b4e954654800d1f
mmc: use new hwpart API when CONFIG_BLK enabled

When CONFIG_BLK is enabled, the hwpart id is different with legacy
interface, update it to kame driver work with CONFIG_BLK.

Signed-off-by: Kever Yang <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
cmd/mmc.c